//
//  TTCertificateChooseModel.m
//  TaoTuo
//
//  Created by apple on 2020/11/19.
//  Copyright © 2020 刘广. All rights reserved.
//

#import "TTCertificateChooseModel.h"

@implementation TTCertificateChooseModel

+ (instancetype)setModelWithSectionTitle:(NSString *)sectionTitle allowMulti:(BOOL)allowMulti allowCancelSelect:(BOOL)allowCancelSelect dataArray:(NSArray <TTCertificateItemModel *>*)dataArray
{
    return [self setModelWithSectionTitle:sectionTitle allowMulti:allowMulti allowCancelSelect:allowCancelSelect dataArray:dataArray minSize:CGSizeZero];
}

+ (instancetype)setModelWithSectionTitle:(NSString *)sectionTitle allowMulti:(BOOL)allowMulti allowCancelSelect:(BOOL)allowCancelSelect dataArray:(NSArray <TTCertificateItemModel *>*)dataArray minSize:(CGSize)minSize
{
    TTCertificateChooseModel *model = [[self alloc] init];
    model.sectionTitle = sectionTitle;
    model.allowMulti = allowMulti;
    model.allowCancelSelect = allowCancelSelect;
    model.dataArray = dataArray;
    model.minSize = minSize;
    return model;
}

@end
